package com.bridgeintelligent.tag.customer.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.Map;

/**
 * @description
 * @author: grp 2021-02-21 23:06
 **/
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(description = "下发实体")
public class IssueVO {
    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "渠道id")
    private String channelId;
    @ApiModelProperty(value = "下发id")
    private String issueKey;
    @ApiModelProperty(value = "下发名称")
    private String issueName;
    @ApiModelProperty(value = "ccis")
    private String ccis;
    @ApiModelProperty(value = "负责人id")
    private String directorId;
    @ApiModelProperty(value = "客群id")
    private String customersId;
    @ApiModelProperty(value = "频度")
    private String frequency;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "有效期-开始")
    private Date validStart;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "有效期-结束")
    private Date validEnd;
    @ApiModelProperty(value = "下发字段")
    private String fields;
    @ApiModelProperty(value = "启用状态")
    private String state;
    @ApiModelProperty(value = "渠道名称")
    private String channelName;
    @ApiModelProperty(value = "客群名称")
    private String customersName;
    @ApiModelProperty(value = "负责人")
    private String directorName;
    @ApiModelProperty(value = "审批人")
    private String approverName;
    private String approveState;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @ApiModelProperty(value = "是否最近修改")
    private boolean isnew;

    @ApiModelProperty(value = "审核状态")
    private String approvalStatus;
    @ApiModelProperty(value = "类型名称")
    private String approveTypeName;
    @ApiModelProperty(value = "流程类型")
    private String approveType;
    @ApiModelProperty(value = "流程id")
    private String instanceId;
    @ApiModelProperty(value = "创建人-审核通过和拒绝的申请人id")
    private String creatorId;

    @ApiModelProperty(value = "下发字段映射")
    private Map<String ,String > map;
    //索引ID
    private String indexId;
    //周频率下的周几字段
    private String weeks;
    //相似客群下发标识
    private String lookConfigId;
}
